Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Rutene i koden er nå på engelsk, slik resten av koden er. Tekst på siden er fortsatt på norsk.
/spill/games/profil/profile/profil/anmeldelser/profile/reviews/profil/favoritter/profile/favorites#innhold(hopp til innhold)#contentOppdatert i kode, tester, e2e og docs. Gamle lenker til
/spillog/profilsendes til forsiden.Slik ble det gjort
Søk og erstatt med perl i alle filer som nevner rutene, og deretter
pnpm format:Mønstrene treffer bare ruter, altså ord med skråstrek foran, eller
page.goto(...)ogpath/toi React Router. Tekst på siden som «Alle spill» og «favoritter til» er ikke endret. Etterpå gikk jeg gjennomgit diffog sjekket at ingen gamle ruter var igjen. Enpage.gotomed backticks isearch.spec.tsble rettet for hånd.Rettet også
exact: trueReviews.test.tsxmangletisFavorite, så Apollo skrev advarsler i testloggenRelated Issue
Closes #272
Changes made
Checklist
Bruk av KI
Skjermbilder
Ingen synlig endring utenom adressene.